package com.laxcen;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
import springfox.documentation.swagger2.annotations.EnableSwagger2;
import tk.mybatis.spring.annotation.MapperScan;
/**
 * @version V1.0
 * @date 2018年7月11日
 * @author superzheng
 */
@SpringBootApplication
@EnableScheduling //开启调度任务
@EnableSwagger2
@MapperScan({"com.laxcen.mapper","com.laxcen.smoke.dao"})
public class SpringbootApplication {

	public static void main(String[] args) {
		try {
			SpringApplication.run(SpringbootApplication.class, args);
		}catch (Exception e) {
			e.printStackTrace();
		}
	}
}
